package com.thread.callable;

import java.util.concurrent.Callable;

/**
 * @Author milian
 * @Date 2021/7/28 0028 15:16
 */
public class MyCallable implements Callable {
    @Override
    public Object call() throws Exception {
        for (int i = 0; i < 100; i++) {
            System.out.println(i);

        }
        return "线程执行完毕";
    }
}
